package rhc.spider.middlewareManage.impl;

import rhc.spider.common.SpiderData;
import rhc.spider.crawler.Crawler;
import rhc.spider.middleware.spiderMiddleware.SpiderMiddleware;
import rhc.spider.middlewareManage.BasicMiddlewareManage;
import rhc.spider.request.Response;
import rhc.spider.setting.Setting;
import rhc.spider.spider.Spider;

/**spider中间件管理器
 * @author lenovo1
 *
 */
public class SpiderMiddlewareManage extends BasicMiddlewareManage<SpiderMiddleware> implements SpiderMiddleware{

	public SpiderMiddlewareManage(Crawler crawler, Setting setting) {
		super(crawler, setting);
		// TODO 自动生成的构造函数存根
	}
	
	@Override
	protected void createMiddlewareList() {
		// TODO 自动生成的方法存根
		
	}

	@Override
	public SpiderData processSpiderInput(Spider spider, Response response) {
		// TODO 自动生成的方法存根
		return null;
	}

	@Override
	public SpiderData processSpiderOutput(Spider spider, Response response,
			SpiderData data) {
		// TODO 自动生成的方法存根
		return null;
	}

	@Override
	public SpiderData processSpiderException(Spider spider, Response response,
			Exception e) {
		// TODO 自动生成的方法存根
		return null;
	}

}
